François B observes that Galaxy S5 BDGSA sentences are empty at two twokens,
authorRobert Lipe <robertlipe@gpsbabel.org>
Thu, 7 Jan 2016 04:22:48 +0000 (22:22 -0600)
committerRobert Lipe <robertlipe@gpsbabel.org>
Thu, 7 Jan 2016 04:22:48 +0000 (22:22 -0600)
not four. Fix warning for 'Short GSA sentence".

nmea.cc

diff --git a/nmea.cc b/nmea.cc
index 9b6e09351a85ad31b94f340e5994428c012decf5..116a8e64e4b4f4df7dc33a0e0d81743c92328a8b 100644 (file)
--- a/nmea.cc
+++ b/nmea.cc
@@ -691,7 +691,7 @@ gpgsa_parse(char* ibuf)
                &fixauto, &fix,
                &prn[0],&prn[1],&prn[2],&prn[3],&prn[4],&prn[5],
                &prn[6],&prn[7],&prn[8],&prn[9],&prn[10],&prn[11]);
-  if (scn < 4) {
+  if (scn < 2) {
     warning(MYNAME ": Short GSA sentence.\n");
   }
   /*